﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace IO_Preprocessing
{
    class DataPreparation
    {
        string FileLocation;

        bool FileExistence(string FileLocation)
        {
            if (File.Exists(FileLocation))
                return true;
            else return false;
        }
        /*
        string[,] FileLoadTXT(string FileLocation)
        {

        }

        string[,] FileLoadXLS(string FileLocation)
        {

        }

        string[,] FileLoadDB(string FileLocation)
        {

        }
        
        public string[,] FileExtensionCheck(string FileLocation)
        {
            string[,] FullTable;
            
            if (FileLocation.Contains("*.txt"))
                FullTable = FileLoadTXT(FileLocation);

            else if (FileLocation.Contains("*.xls"))
                FullTable = FileLoadXLS(FileLocation);

            else if (FileLocation.Contains("*.db")) 
                FullTable = FileLoadDB(FileLocation);
            
            return FullTable;
        }
       
        int DataCheck(string[,] FullTable)
        {

        }
        */
        public void RunIOPreprocessingOperation(string FileLocation)
        {
            
        }
    }
}
